package com.crane.oss.app.bean.resp;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.crane.oss.school.bean.resp.StudentResp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;


/**
 * @author zhenxing.pi
 * @email ccsu123456@qq.com
 * @date 2022年03月20日 23时05分57秒
 */

@Getter
@Setter
@ToString

public class AppUserResp implements Serializable {

	private static final long serialVersionUID = 3000226511807802244L;

	@ApiModelProperty(value = "用户id")
    private Long appUserId;

    @ApiModelProperty(value = "类型: 1老师 2家长 3 老师/家长")
    private Integer userType;

    @ApiModelProperty(value = "手机号码", name = "mobile")
    private String mobile;

    @ApiModelProperty(value = "登录密码", name = "password")
    private String password;

    @ApiModelProperty(value = "家长身份值", name = "identity")
    private String identity;

    @ApiModelProperty(value = "状态：2正常，1锁定，0无效", name = "status")
    private Integer status;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "头像")
    private String headUrl;

    @ApiModelProperty(value = "上次登录家长身份 2家长 1老师")
    private Integer beforeType;

    /**
     * 上次选中的学生ID
     */
    @ApiModelProperty(value = "上次选中的学生ID")
    private Long beforeStudent;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "学生集合")
    List<StudentResp>  students ;

}
